package com.link.base.loyalty.transaction.model;

import com.link.core.basic.model.BasicModel;

public class Transaction extends BasicModel {

    private String transactionDate;        /*交易日期*/
    private String transactionNumber;    /*交易编号*/
    private String transactionType;        /*类型,值列表类型: LYT_TXN_TYPE */
    private String transactionSubType;    /*子类型,值列表类型: LYT_TXN_SUB_TYPE */
    private String programName;            /*项目*/
    private Long programId;            /*项目Id*/
    private String memberNumber;        /*会员编号*/
    private String memberName;            /*会员名称*/
    private Long memberId;            /*会员Id*/
    private String productName;            /*产品名称*/
    private Long productId;            /*产品Id*/
    private Double points;                /*基本积分*/
    private String pointName;            /*积分类型*/
    private Long pointId;                /*积分类型Id*/
    private String qualifyingFlag;        /*定级积分*/
    private String submitTo;            /*提交至*/
    private Long submitToId;            /*提交至Id*/
    private String ownerLogin;            /*责任人*/
    private Long ownerLoginId;        /*责任人Id*/
    private String overridePriceFlag;    /*改写价格*/
    private String status;                /*状态,值列表类型: LYT_TXN_STATUS */
    private String partnerName;            /*合作方名称*/
    private String pointTotal;            /*积分合计*/
    private String transactionChannel;    /*交易渠道,值列表类型: LYT_TXN_CHANNEL */
    private String voucherType;            /*优惠券类型*/
    private Long bulkRefId;            /*成批参考编号*/
    private String comments;            /*注释*/
    private String processingComment;    /*正在处理注释*/
    private String voucherNumber;        /*优惠券编号*/
    private String processingLog;        /*正在处理日志*/
    private String processDate;            /*处理日期*/
    private String parentOrderNum;        /*订单编号*/
    private String transferMemberNumber;    /*积分自/至*/
    private Long transferMemberNumberId;    /*积分自/至Id*/
    private Long transferTxnId;        /*转移交易*/
    private String internalFlightDate;    /*航班日期*/
    private String originationAirport;    /*始发机场*/
    private String destinationAirport;    /*目的地机场*/
    private Long cancelledTxnId;        /*取消的交易 ID*/
    private String bookingClass;        /*预定等级,值列表类型: LYT_BOOK_CLASS */
    private Double amount;                /*金额*/
    private Long orderId;                /*订单ID*/
    private String orderNumber;            /*订单号*/
    private String corporateReference;    /*公司参考*/
    private String packageCode;            /*套餐代码,值列表类型: LYT_PACK_CODE */
    private Double orderQuantity;        /*订单数量*/
    private String source;                /*来源,值列表类型: LYT_TR_SOURCE */
    private String corporateMember;        /*公司成员*/
    private Double originalAmount;        /*初始金额*/
    private String productCategory;        /*产品类别,值列表类型: LYT_PROD_GATEGORY */
    private String calcHour;            /*小时数*/
    private String calcDay;                /*日*/
    private String originCity;            /*始发城市*/
    private String destinationCity;        /*目的地城市*/
    private String operatingCarrier;    /*承运商*/
    private String operatingCarrierId;    /*承运商Id*/
    private String itemNumber;            /*项目编号*/
    private String distance;            /*距离*/
    private String flightNum;            /*航班号*/
    private String socialActionType;    /*社会操作类型,值列表类型: LYT_SM_ACTION_TYPE */
    private String referredByMemberNumber;    /*由成员推荐*/
    private Long referredByMemberNumberId;    /*由成员推荐Id*/
    private Long partnerId;            /*合作方Id*/
    private Long parentTxnId;            /*父交易 ID*/
    private String locationCode;        /*地点代码*/
    private Long enrolledPromotionId;    /*已注册促销标识Id*/
    private String promotionIncentiveChoice;    /*激励选择*/

    /**交易的执行方式  asyn 异步执行 syn同步执行*/
    private String execution;
    /**订单属性*/
    private String orderAttr;
    /**原销售订单ID*/
    private Long assocOrdId;
    /**交易单据类型*/
    private String dataType;
    /**创建交易是是否需要新建会员*/
    private String newMemberFlag;
    /*产品编码*/
    private String prodCode;
    /**手机号*/
    private String mobilePhone;
    /**消费者姓名*/
    private String consumerName;
    /**渠道会员id*/
    private Long channelMemberId;
    /**渠道会员层级ID*/
    private Long tierClassId;
    /*交易来源ID用于存渠道会员生成的交易ID*/
    private Long sourceId;
    /*订单层级*/
    private String orderClass;
    /*提交或支付id*/
    private String formId;



    public String getTransactionDate() {
        int len = 10;
        if (transactionDate != null && transactionDate.length() > len) {
            return transactionDate.substring(0, 10);
        }
        return transactionDate;
    }

    public void setTransactionDate(String transactionDate) {
        int len = 10;
        if (transactionDate != null && transactionDate.length() > len) {
            transactionDate = transactionDate.substring(0, 10);
        }
        this.transactionDate = transactionDate;
    }

    public String getTransactionType() {
        return transactionType;
    }

    public void setTransactionType(String transactionType) {
        this.transactionType = transactionType;
    }

    public String getTransactionSubType() {
        return transactionSubType;
    }

    public void setTransactionSubType(String transactionSubType) {
        this.transactionSubType = transactionSubType;
    }

    public String getProgramName() {
        return programName;
    }

    public void setProgramName(String programName) {
        this.programName = programName;
    }

    public String getMemberNumber() {
        return memberNumber;
    }

    public void setMemberNumber(String memberNumber) {
        this.memberNumber = memberNumber;
    }

    public String getMemberName() {
        return memberName;
    }

    public void setMemberName(String memberName) {
        this.memberName = memberName;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public String getPointName() {
        return pointName;
    }

    public void setPointName(String pointName) {
        this.pointName = pointName;
    }

    public String getQualifyingFlag() {
        return qualifyingFlag;
    }

    public void setQualifyingFlag(String qualifyingFlag) {
        this.qualifyingFlag = qualifyingFlag;
    }

    public String getSubmitTo() {
        return submitTo;
    }

    public void setSubmitTo(String submitTo) {
        this.submitTo = submitTo;
    }

    public String getOwnerLogin() {
        return ownerLogin;
    }

    public void setOwnerLogin(String ownerLogin) {
        this.ownerLogin = ownerLogin;
    }

    public String getOverridePriceFlag() {
        return overridePriceFlag;
    }

    public void setOverridePriceFlag(String overridePriceFlag) {
        this.overridePriceFlag = overridePriceFlag;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getPartnerName() {
        return partnerName;
    }

    public void setPartnerName(String partnerName) {
        this.partnerName = partnerName;
    }

    public String getPointTotal() {
        return pointTotal;
    }

    public void setPointTotal(String pointTotal) {
        this.pointTotal = pointTotal;
    }

    public String getTransactionChannel() {
        return transactionChannel;
    }

    public void setTransactionChannel(String transactionChannel) {
        this.transactionChannel = transactionChannel;
    }

    public String getVoucherType() {
        return voucherType;
    }

    public void setVoucherType(String voucherType) {
        this.voucherType = voucherType;
    }

    public String getComments() {
        return comments;
    }

    public void setComments(String comments) {
        this.comments = comments;
    }

    public String getProcessingComment() {
        return processingComment;
    }

    public void setProcessingComment(String processingComment) {
        this.processingComment = processingComment;
    }

    public String getVoucherNumber() {
        return voucherNumber;
    }

    public void setVoucherNumber(String voucherNumber) {
        this.voucherNumber = voucherNumber;
    }

    public String getProcessingLog() {
        return processingLog;
    }

    public void setProcessingLog(String processingLog) {
        this.processingLog = processingLog;
    }

    public String getProcessDate() {
        int len = 10;
        if (processDate != null && processDate.length() > len) {
            return processDate.substring(0, 10);
        }
        return processDate;
    }

    public void setProcessDate(String processDate) {
        int len = 10;
        if (processDate != null && processDate.length() > len) {
            processDate = processDate.substring(0, 10);
        }
        this.processDate = processDate;
    }

    public String getParentOrderNum() {
        return parentOrderNum;
    }

    public void setParentOrderNum(String parentOrderNum) {
        this.parentOrderNum = parentOrderNum;
    }

    public String getTransferMemberNumber() {
        return transferMemberNumber;
    }

    public void setTransferMemberNumber(String transferMemberNumber) {
        this.transferMemberNumber = transferMemberNumber;
    }

    public String getInternalFlightDate() {
        int len = 10;
        if (internalFlightDate != null && internalFlightDate.length() > len) {
            return internalFlightDate.substring(0, 10);
        }
        return internalFlightDate;
    }

    public void setInternalFlightDate(String internalFlightDate) {
        int len = 10;
        if (internalFlightDate != null && internalFlightDate.length() > len) {
            internalFlightDate = internalFlightDate.substring(0, 10);
        }
        this.internalFlightDate = internalFlightDate;
    }

    public String getOriginationAirport() {
        return originationAirport;
    }

    public void setOriginationAirport(String originationAirport) {
        this.originationAirport = originationAirport;
    }

    public String getDestinationAirport() {
        return destinationAirport;
    }

    public void setDestinationAirport(String destinationAirport) {
        this.destinationAirport = destinationAirport;
    }

    public String getBookingClass() {
        return bookingClass;
    }

    public void setBookingClass(String bookingClass) {
        this.bookingClass = bookingClass;
    }

    public String getOrderNumber() {
        return orderNumber;
    }

    public void setOrderNumber(String orderNumber) {
        this.orderNumber = orderNumber;
    }

    public String getCorporateReference() {
        return corporateReference;
    }

    public void setCorporateReference(String corporateReference) {
        this.corporateReference = corporateReference;
    }

    public String getPackageCode() {
        return packageCode;
    }

    public void setPackageCode(String packageCode) {
        this.packageCode = packageCode;
    }

    public String getSource() {
        return source;
    }

    public void setSource(String source) {
        this.source = source;
    }

    public String getCorporateMember() {
        return corporateMember;
    }

    public void setCorporateMember(String corporateMember) {
        this.corporateMember = corporateMember;
    }

    public String getProductCategory() {
        return productCategory;
    }

    public void setProductCategory(String productCategory) {
        this.productCategory = productCategory;
    }

    public String getCalcHour() {
        return calcHour;
    }

    public void setCalcHour(String calcHour) {
        this.calcHour = calcHour;
    }

    public String getCalcDay() {
        return calcDay;
    }

    public void setCalcDay(String calcDay) {
        this.calcDay = calcDay;
    }

    public String getOriginCity() {
        return originCity;
    }

    public void setOriginCity(String originCity) {
        this.originCity = originCity;
    }

    public String getDestinationCity() {
        return destinationCity;
    }

    public void setDestinationCity(String destinationCity) {
        this.destinationCity = destinationCity;
    }

    public String getOperatingCarrier() {
        return operatingCarrier;
    }

    public void setOperatingCarrier(String operatingCarrier) {
        this.operatingCarrier = operatingCarrier;
    }

    public String getOperatingCarrierId() {
        return operatingCarrierId;
    }

    public void setOperatingCarrierId(String operatingCarrierId) {
        this.operatingCarrierId = operatingCarrierId;
    }

    public String getItemNumber() {
        return itemNumber;
    }

    public void setItemNumber(String itemNumber) {
        this.itemNumber = itemNumber;
    }

    public String getTransactionNumber() {
        return transactionNumber;
    }

    public void setTransactionNumber(String transactionNumber) {
        this.transactionNumber = transactionNumber;
    }

    public String getDistance() {
        return distance;
    }

    public void setDistance(String distance) {
        this.distance = distance;
    }

    public String getFlightNum() {
        return flightNum;
    }

    public void setFlightNum(String flightNum) {
        this.flightNum = flightNum;
    }

    public String getSocialActionType() {
        return socialActionType;
    }

    public void setSocialActionType(String socialActionType) {
        this.socialActionType = socialActionType;
    }

    public String getReferredByMemberNumber() {
        return referredByMemberNumber;
    }

    public void setReferredByMemberNumber(String referredByMemberNumber) {
        this.referredByMemberNumber = referredByMemberNumber;
    }

    public String getLocationCode() {
        return locationCode;
    }

    public void setLocationCode(String locationCode) {
        this.locationCode = locationCode;
    }

    public String getPromotionIncentiveChoice() {
        return promotionIncentiveChoice;
    }

    public void setPromotionIncentiveChoice(String promotionIncentiveChoice) {
        this.promotionIncentiveChoice = promotionIncentiveChoice;
    }

    public Double getPoints() {
        return points;
    }

    public void setPoints(Double points) {
        this.points = points;
    }

    public Double getAmount() {
        return amount;
    }

    public void setAmount(Double amount) {
        this.amount = amount;
    }

    public Double getOrderQuantity() {
        return orderQuantity;
    }

    public void setOrderQuantity(Double orderQuantity) {
        this.orderQuantity = orderQuantity;
    }

    public Double getOriginalAmount() {
        return originalAmount;
    }

    public void setOriginalAmount(Double originalAmount) {
        this.originalAmount = originalAmount;
    }

    public Long getProgramId() {
        return programId;
    }

    public void setProgramId(Long programId) {
        this.programId = programId;
    }

    public Long getMemberId() {
        return memberId;
    }

    public void setMemberId(Long memberId) {
        this.memberId = memberId;
    }

    public Long getProductId() {
        return productId;
    }

    public void setProductId(Long productId) {
        this.productId = productId;
    }

    public Long getPointId() {
        return pointId;
    }

    public void setPointId(Long pointId) {
        this.pointId = pointId;
    }

    public Long getSubmitToId() {
        return submitToId;
    }

    public void setSubmitToId(Long submitToId) {
        this.submitToId = submitToId;
    }

    public Long getOwnerLoginId() {
        return ownerLoginId;
    }

    public void setOwnerLoginId(Long ownerLoginId) {
        this.ownerLoginId = ownerLoginId;
    }

    public Long getBulkRefId() {
        return bulkRefId;
    }

    public void setBulkRefId(Long bulkRefId) {
        this.bulkRefId = bulkRefId;
    }

    public Long getTransferMemberNumberId() {
        return transferMemberNumberId;
    }

    public void setTransferMemberNumberId(Long transferMemberNumberId) {
        this.transferMemberNumberId = transferMemberNumberId;
    }

    public Long getTransferTxnId() {
        return transferTxnId;
    }

    public void setTransferTxnId(Long transferTxnId) {
        this.transferTxnId = transferTxnId;
    }

    public Long getOrderId() {
        return orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    public Long getReferredByMemberNumberId() {
        return referredByMemberNumberId;
    }

    public void setReferredByMemberNumberId(Long referredByMemberNumberId) {
        this.referredByMemberNumberId = referredByMemberNumberId;
    }

    public Long getPartnerId() {
        return partnerId;
    }

    public void setPartnerId(Long partnerId) {
        this.partnerId = partnerId;
    }

    public Long getParentTxnId() {
        return parentTxnId;
    }

    public void setParentTxnId(Long parentTxnId) {
        this.parentTxnId = parentTxnId;
    }

    public Long getEnrolledPromotionId() {
        return enrolledPromotionId;
    }

    public void setEnrolledPromotionId(Long enrolledPromotionId) {
        this.enrolledPromotionId = enrolledPromotionId;
    }

    public Long getCancelledTxnId() {
        return cancelledTxnId;
    }

    public void setCancelledTxnId(Long cancelledTxnId) {
        this.cancelledTxnId = cancelledTxnId;
    }

    public String getExecution() {
        return execution;
    }

    public void setExecution(String execution) {
        this.execution = execution;
    }

    public String getOrderAttr() {
        return orderAttr;
    }

    public void setOrderAttr(String orderAttr) {
        this.orderAttr = orderAttr;
    }

    public Long getAssocOrdId() {
        return assocOrdId;
    }

    public void setAssocOrdId(Long assocOrdId) {
        this.assocOrdId = assocOrdId;
    }

    public String getDataType() {
        return dataType;
    }

    public void setDataType(String dataType) {
        this.dataType = dataType;
    }

    public String getNewMemberFlag() {
        return newMemberFlag;
    }

    public void setNewMemberFlag(String newMemberFlag) {
        this.newMemberFlag = newMemberFlag;
    }

    public String getProdCode() {
        return prodCode;
    }

    public void setProdCode(String prodCode) {
        this.prodCode = prodCode;
    }

    public String getMobilePhone() {
        return mobilePhone;
    }

    public void setMobilePhone(String mobilePhone) {
        this.mobilePhone = mobilePhone;
    }

    public String getConsumerName() {
        return consumerName;
    }

    public void setConsumerName(String consumerName) {
        this.consumerName = consumerName;
    }

    public Long getTierClassId() {
        return tierClassId;
    }

    public void setTierClassId(Long tierClassId) {
        this.tierClassId = tierClassId;
    }

    public Long getChannelMemberId() {
        return channelMemberId;
    }

    public void setChannelMemberId(Long channelMemberId) {
        this.channelMemberId = channelMemberId;
    }

    public Long getSourceId() {
        return sourceId;
    }

    public void setSourceId(Long sourceId) {
        this.sourceId = sourceId;
    }

    public String getOrderClass() {
        return orderClass;
    }

    public void setOrderClass(String orderClass) {
        this.orderClass = orderClass;
    }

    public String getFormId() {
        return formId;
    }

    public void setFormId(String formId) {
        this.formId = formId;
    }
}
